﻿using IMES.Common.Dtos;
using MediatR;

namespace GlennQuigmire.API.Application.Commands
{
    public class MaterialCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 产品编号
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 单位用量
        /// </summary>  
        public int UnitMach { get; set; }
        /// <summary>
        /// 父级物料
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建人名
        /// </summary>
        public string CreateName { get; set; }
    }
}
